package ooday02work;

public class Chick extends Animal {
    Chick(String name ,int age, String color){
        super(name,age,color);
    }
    void layEggs(){
        System.out.println(color+"色的母鸡在下蛋");
    }

    void eat(){
        System.out.println(age+"岁的鸡在吃小米");
    }
    void drink(){
        System.out.println("名叫"+name+"的鸡在喝水");
    }
}
